Previous PageTable Of ContentsIndexNext Page

After having created such a splendid vase, let’s do something a little different.

Amapi 3D will help us create a tempting cherry. In this new exercise, we assume that you are now familiar with Amapi 3D. The goal here is to show you that you can, using the tools provided by Amapi 3D, keep your current working habits.
We recommend you do this exercise using the shaded display mode. (See chapter User Manual/Preferences/Interface /Working Space/Display mode.)

Make sure that the scene is empty.

Ask to view the entire scene to make sure that it is completely empty. Click on the icon in the Control Panel to do that (or press the “0” key).
If the scene is indeed empty, go to the next step.
If not, we will erase all the objects using the Catalog’s Trash tool.

    · Click on the Catalog icon to open it .
    · Click on an object of the scene and hold the mouse button down. The Wand is transformed in a thumbnail image representing the object selected.
    · Drag the cursor toward the Trash icon .
    · Release the mouse button when the thumbnail is over the Trash icon. The selected object will disappear from the scene.
    · Repeat the operation until there are no objects left in the scene.
    · Put the Catalog tool aside (depending on the interface).

 

Creating a sphere, the basis of the body of the cherry
Select the Sphere tool in the Construction Palette. Two axes that intersect at the center of the table are displayed.

    · As part of the Assistant Palette, Amapi 3D displays in the “Modes” area two buttons used to switch from Polygonal drawing mode to NURBS drawing mode. Click on the NURBS button. (You can also use the keyboard hotkey to switch mode: Ctrl+B on PC, or Command+B on Mac).

    · Set the origin of the sphere at the intersection of the two axes.

 

    · Drag the mouse so as to define a sphere of radius 120 mm (check the numerical window at the bottom left corner of the scene).
    · Click. The sphere is created.
    · You could smooth the sphere using the “+” and “-” keys. In this example, we will use the default settings.
    · Press the Return key to end the tool action and drop it.

 

Modifying the sphere shape

Select the Stretch tool in the Modeling Palette.
The sphere created is a NURBS sphere. A NURBS object has a surface that is always smooth even if you modify the object’s shape.
Instead of editing the object’s points directly (which is the case for polygonal objects), you will manipulate control vectors external to the shape. Here, the control vectors take the shape of a cube.

    · We can apply a vertical constraint to the cursor’s movements, either through the Assistant Palette or using the hotkey:

      · In the Assistant Palette: Click on the icon.
      · Using the hotkey: Press the spacebar twice to set first a horizontal and then a vertical constraint.

    · Click on the center of the top face of the control cube and pull downward by 80 mm.
    · Click to set the point to its new position.
    · Open the Control Panel and click on the Orthogonal button to set this viewing mode.
    · Switch the Wand to the Lasso.
    · Select the top part of the control cube and press Return to validate: The three top points of the control cube are displayed in red and the cursor switches back to the Stretch tool cursor.
    · Re-open the Control Panel to go back to perspective view. You can see that you in fact selected the 8 points of the top face of the control cube.
    · Click on one of the points: All the selected points can be moved simultaneously.
    · Drag the mouse upward 60 mm. (You can apply a vertical constraint to the cursor movement by clicking on the icon of the Assistant Palette or by pressing the spacebar twice.)
    · Click to set the points to their new position.
    · Put the tool aside to end the action (depending on the interface).
    · The cube (representing the control vectors) disappears, leaving only the modified sphere.

Hiding the body of the cherry
(to have more working space for creating the cherry stalk).
Select the Hide tool in the Control Panel.

    · Click on the cherry (it becomes white).
    · Put the tool aside to end the action (depending on the interface). The cherry disappears in the hidden scene. We will bring it back later.

 

Building the stalk
1. Click on the icon in the Control Panel to view the entire scene, or use the hotkey (the “0” key). You will come back to the default viewpoint, as there are no objects in the scene.

2. Select the Drawing tool in the Construction Palette. Two axes are displayed at the center of the table.

3. Select the Polyline tool.

    · Click on the axes origin to set a first point.
    · Click on the icon in the Assistant Palette or press twice on the spacebar to apply a vertical constraint.
    · Move the cursor upward (by about 300 mm) and click to create a second point.
    · Validate to end the tool action.
    · Put the tool aside (depending on the interface).

4. Take the Smooth tool in the Modeling Palette. A red preview of the smoothing is displayed on the object.

    · Press Tab, and enter a value of 8 in the numerical window at the bottom left corner of the screen.
    · Press the Return key to validate. The segment is now divided into 8 parts.
    · Press the Return key to validate. (If you had put the tool aside without validating, the smoothing would not have been applied).

Modifying the end of the stalk.

1. To zoom in on the top of the curve: Click on the icon of the Assistant Palette or use the corresponding hotkey (the “1” key).
2. Take the Drawing tool in the Construction Palette.

    · Set the origin of the axes at the top end point of the straight line.
    · Click at the exact same point.
    · Press the spacebar: The cross displayed indicates a connection point which means that you can continue the drawing using another curve.

3. Select the Polyline tool.

    · Add a few points connecting to the top part of the cherry stalk, as shown on the opposite illustration.

    · Press Return to end the profile.
    · Put the tool aside to end the action (depending on the interface).

4. Click on the icon in the Assistant Palette or use the corresponding hotkey (the “0” key) to view the entire scene. You can see the whole profile of the cherry stalk.
5. Zoom in on the bottom part of the segment: Click on icon in the Assistant Palette or use the corresponding hotkey (the “1” key).

6. Press the Up arrow key a couple of times to display a top perspective view.
7. Select the Drawing tool .

    Set the axis origin at the bottom end of the segment.

8. Select the Circle from the Drawing tool sub-palette.

    · Click to set the location of the center of the circle.
    · Drag the mouse to specify a radius of 5 mm.
    · Click to validate the location.
    · Press Return to validate the default number of points of the circle.
    · Put the tool aside to end the action (depending on the interface).

9. Select the Snap tool (to attach the end of the stalk).

    · Click on the far right point of the circle; a red dot is displayed.
    · Click on the end of the profile (stalk). The circle snaps to the profile.
    · Put the tool aside to end the action (depending on the interface).

10. Go to front view (the “2” key) and zoom in on the connecting point (click on the icon in the Assistant Palette or use the corresponding hotkey (the “1” key).
11. Select the Extrusion tool in the Construction Palette. Check that the circle is indeed selected (displayed in cyan).

    · Click on the profile. The extrusion is generated and the ends of the stalk are displayed in red.
    · Click on the top one to close the shape.
    · Put the tool aside to end the action (depending on the interface).

Bending the cherry stalk.
Select the Bending tool in the Modeling Palette.

    · Click once to set the axis origin.
    · Click on this origin to create the first point.
    · Click three more times to draw an “S”.
    · Press Return.
    · The “+/-” Tuner is displayed. Press the “+” key to add points to the curve.
    · Validate; the cherry stalk is bent according to the profile of the curve.
    · Put the tool aside to end the action (depending on the interface).

Snapping the cherry to its stalk.
1. Select the Unhide tool in the Control Panel: The hidden scene is displayed (in our case, the body of the cherry).

    · Click on the cherry.
    · Put the tool aside to end the action (depending on the interface).
    · The body of the cherry is displayed in the main scene.

2. Select the cherry stalk: It becomes cyan.
3. Take the Snap tool in the Assembly Palette.

    · Click on the base of the stalk: a red dot is displayed.
    · Click on the point of the cherry as indicated on the opposite illustration. Use the arrow keys to get a better view.

      Use the “1” key to zoom in on the area if necessary.

Defining the color of the cherry

    · Amapi 3D assigns a default color to each object. You can render the scene by pressing the Return key.
    · Of course, you can customize those colors. In the Control Panel click on the icon of the Material Editor. A simplified dialog box opens allowing you to assign custom colors to the current object. We will assign a simple red color to the cherry in this exercise.
    · Make sure that the cherry is the current object (it must be displayed in cyan). If not, click on it using the Wand cursor.
    · Double click on the color rectangle named “Ambient”. The color picker opens up, allowing you to choose a color.
    · Select a red.
    · Click on the “VALID” button to validate the choice.
    · You can check your choice in the preview window, modify it, or make other adjustments.
    · Once satisfied with the color setting, click on the “VALID” button to validate the current object’s new color. The window of the Material Editor closes and you are back to the main scene.
    · Press the Return key to render the whole scene.
    · You can proceed the same way to define the color of the cherry stalk.

Previous PageTable Of ContentsIndexNext Page